package david;

public class Parent {
	
	String name;
	
	public void sayHello() {
		System.out.println("Hello");
	}

	public void sayHello(String name) {
		System.out.println("Hello " + name );
	}
	
	public void sayGoodMorning(){
		System.out.println("Good Morning");
	}
	
	protected void saySomething(){
		System.out.println("hi, something else");
	}
	
	void sayGoodnight(){
		System.out.println("Good night");
	}
}
